package com.example.ex00_test;

public class MyJson {

	private String processor;
	private String method;
	private String type;
	private String content;

	public String getProcessor() {
		return processor;
	}

	public void setProcessor(String processor) {
		this.processor = processor;
	}

	public String getMethod() {
		return method;
	}

	public void setMethod(String method) {
		this.method = method;
	}

	public String getType() {
		return type;
	}

	public void setType(String type) {
		this.type = type;
	}

	public String getContent() {
		return content;
	}

	public void setContent(String content) {
		this.content = content;
	}

	public MyJson(String processor, String method, String type, String content) {
		super();
		this.processor = processor;
		this.method = method;
		this.type = type;
		this.content = content;
	}

	@Override
	public String toString() {
		return "{\"processor\":\"" + processor + "\",\"method\":\"" + method
				+ "\",\"type\":\"" + type + "\",\"content\":\"" + content
				+ "\"}";
	}
}
